package com.miyu.common.utils.filter.exception;

/**
 * Cos系统异常信息提示工具类
 * @author miyu
 * @date 2022/12/26
 */
public class CosException extends RuntimeException {


    /**
     * 系统异常根据编码取出异常信息
     * @param code 密码
     */
    public CosException(String code){
        throw new RuntimeException(code);
    }

    public CosException(String code,String msg){
        throw new RuntimeException(msg);
    }
}
